const isMobile = navigator.userAgent.match(
    /(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i,
  );
  const getMobileType = (mode?: number) => {
    
    if (isMobile) {
        return true
      // 移动端跳转逻辑
    } else {
      //PC端跳转逻辑
      return false
    }
  };
  export { getMobileType };
  